﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="UpdateSPassword.aspx.cs" Inherits="Web2014112110.UpdateSPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/aee.jpg" Height="39px" Width="42px" />
    <asp:Label ID="lblTitletwo" runat="server" Font-Bold="False" Font-Names="华文琥珀" Font-Size="XX-Large" ForeColor="#000066" style="text-align: left" Text="学生信息系统"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Label ID="lblUser" runat="server" Font-Bold="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" style="text-align: left" Text="当前登录用户："></asp:Label>
    <asp:Label ID="lblNowUser" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066"></asp:Label>
    <asp:Label ID="lblType" runat="server" Font-Bold="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" Text="用户类型："></asp:Label>
    <asp:Label ID="lblUserType" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066">学生</asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <p>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ShowLines="True" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" style="margin-left: 24px">
        </asp:TreeView>
        <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="web1"/>
    </p>
    <p>
        <asp:Label ID="userName0" runat="server" Font-Bold="True" Font-Italic="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#3333CC"></asp:Label>
    </p>
    <p>
        <asp:Image ID="Image" runat="server" Height="87px" ImageUrl="~/Images/a.jpg" Width="87px" ImageAlign="Middle" />
    </p>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder5" runat="server">
    <asp:Label ID="lblCopyright" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" Text="Number：@2014112110；Name：@林丽鸿"></asp:Label>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder4" runat="server">
    <p style="text-align: left">
        &nbsp;</p>
    <p style="text-align: center">
        &nbsp;</p>
    <p style="text-align: center">
        <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="X-Large" ForeColor="#000066" Text="更改密码"></asp:Label>
    </p>
    <p style="text-align: center">
&nbsp;<asp:Label ID="lblOldPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="旧密码："></asp:Label>
        <asp:TextBox ID="txtOldPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" TextMode="Password"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <p style="text-align: center">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="lblNewPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="新密码："></asp:Label>
        <asp:TextBox ID="txtNewPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewPassword" ErrorMessage="RequiredFieldValidator" Font-Bold="True" Font-Italic="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050" InitialValue="000">密码不能为000</asp:RequiredFieldValidator>
    </p>
    <p style="text-align: center">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="lblNewPassword0" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="确认新密码："></asp:Label>
        <asp:TextBox ID="txtNewPassword0" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" TextMode="Password"></asp:TextBox>
        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPassword" ControlToValidate="txtNewPassword0" ErrorMessage="CompareValidator" Font-Bold="True" Font-Italic="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050">密码不一样！</asp:CompareValidator>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <p style="text-align: center">
        <asp:Label ID="lblInfo" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050" Text="“确认新密码”与“新密码”项必须匹配"></asp:Label>
    </p>
    <p style="text-align: center">
        <asp:Button ID="BtnUpdate" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" OnClick="BtnUpdate_Click" Text="更改密码" Width="114px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnCancel" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="取消" OnClick="btnCancel_Click" />
    </p>
    <p style="text-align: center">
        <asp:Label ID="userName" runat="server" Font-Bold="True" Font-Italic="False" Font-Names="楷体" Font-Size="Large" ForeColor="#FF5050"></asp:Label>
        <asp:Label ID="lblInfo1" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#FF5050"></asp:Label>
    </p>
</asp:Content>
